﻿using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

using SuperMarioClone.Screens;

namespace SuperMarioClone.Managers
{
    class ScreenManager
    {
        ArrayList Screens;
        Screen CurrentScreen;
        public ScreenManager(Rectangle ScreenSize)
        { 
            Screens = new ArrayList();
            Screens.Add(new MenuScreen(ScreenSize));
            
            CurrentScreen = (Screen)Screens[0];
        }

        public void Draw(SpriteBatch spriteBatch)
        {
            CurrentScreen.Draw(spriteBatch);
        }
    }
}
